<!--{*Part of the CEFIRO project by dyrtech.com.ve. Copyleft GPLv3 2007. Please see the disclaimer at the root of the project: http://dyrtech.com.ve/cefiro/license.txt*}-->
<style type="text/css">
table.cefpdfTable {literal}{{/literal}
	border-width: {$width.0.0} {$width.0.1} {$width.0.2} {$width.0.3};
	border-spacing: {$spacing.0};
	border-style: {$style.0.0} {$style.0.1} {$style.0.2} {$style.0.3};
	border-color: {$color.0.0} {$color.0.1} {$color.0.2} {$color.0.3};
	border-collapse: {$collapse.0};
	background-color: {$bgcolor.0};
	font-family: {$font};
	font-size:	{$size};
	margin-left: auto;
	margin-right: auto;
{literal}}{/literal}
table.cefpdfTable th.cefpdfTable {literal}{{/literal}
	text-align: {$align.1};
	border-width: {$width.1.0} {$width.1.1} {$width.1.2} {$width.1.3};
	padding: {$padding.1.0} {$padding.1.1} {$padding.1.2} {$padding.1.3};
	border-style: {$style.1.0} {$style.1.1} {$style.1.2} {$style.1.3};
	border-color: {$color.1.0} {$color.1.1} {$color.1.2} {$color.1.3};};
	background-color: {$bgcolor.1};
{literal}}{/literal}
table.cefpdfTable td.cefpdfTable {literal}{{/literal}
	text-align: {$align.2};
	border-width: {$width.2.0} {$width.2.1} {$width.2.2} {$width.2.3};
	padding: {$padding.2.0} {$padding.2.1} {$padding.2.2} {$padding.2.3};
	border-style: {$style.2.1} {$style.2.1} {$style.2.2} {$style.2.3};
	border-color: {$color.2.0} {$color.2.1} {$color.2.2} {$color.2.3};
	background-color: {$bgcolor.2};
{literal}}{/literal}
</style>

<table class="cefpdfTable">
	<tr>
		{foreach from=$titles item=title}
			<th class="cefpdfTable">{$title}</th>
		{/foreach}
	</tr>
	{assign var=i value=0}
	{foreach from=$matrix item=row}
		<tr>
			{foreach from=$keys item=key}
			  <td class="cefpdfTable">
          <font color="{$fontcolor.$i}"> {$row.$key} </font>
			  </td>
			{/foreach}
		</tr>
		{assign var=i value=$i+1}
	{/foreach}
</table>
